package com.taomu.app.zongchouhuli.moudle.login.contract;

import android.widget.CheckBox;
import android.widget.TextView;

import com.taomu.app.zongchouhuli.framework.BasePresenter;
import com.taomu.app.zongchouhuli.framework.BaseView;

public class LoginContract {
    public interface Presenter extends BasePresenter {

        void login(String phone, String password);

        void isSubmitCanClick(TextView tv1, TextView tv2, CheckBox checkBox);

        void getProtocal();
    }

    public interface View extends BaseView<Presenter> {

        void setSubmitCanClick(int bgcolor, boolean enable);

        void setLogin();

        void setArticleInfo(String msg);
    }
}
